import request from "@/utils/request";

//POST /api/mobile/vote/list    //分页查询数据
export function vote_list(query) {
  return request({
    url: "/active/mobile/vote/list",
    method: "post",
    params: query
  });
}
//POST /api/mobile/vote/findById    //投票详情
export function vote_findById(query) {
  return request({
    url: "/active/mobile/vote/findById",
    method: "post",
    params: query
  });
}
// /api/mobile/vote/addBrowseNum 投票浏览
export function vote_addBrowseNum(query) { //投票浏览一次
         return request({
           url: "/active/mobile/vote/addBrowseNum",
           method: "post",
           params: query
         });
       }
// /api/mobile/voteRecord/myJoinVote 我参与的投票
export function vote_myJoinVote(query) { 
         return request({
           url: "/active/mobile/voteRecord/myJoinVote",
           method: "post",
           params: query
         });
       }
